<div class="card">
    <div class="header">
        <div class="search-param-panel">
            <div class="search-input">
                <form class="form-horizontal">
                    <div class="row clearfix form-inline">
                        <div class="col-lg-5 col-md-5 col-sm-4 col-xs-5">
                            <label>分栏名称</label>
                        </div>
                        <div class="col-lg-7 col-md-7 col-sm-8 col-xs-7">
                            <div class="form-group">
                                <div class="form-line">
                                    <input name="searchFlmc" class="form-control" type="text"
                                           ng-model="selectData.searchFlmc"
                                           placeholder=""/>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="search-btn" style="margin-right: 20px;">
                <div>
                    <button class="btn btn-default1" ng-click="Search()">查询</button>
                    <!--<button class="btn btn-default1" ng-click="AddModal()">新增</button>-->
                </div>
            </div>
        </div>
        <div class="search-btn" style="width:100%;display: inline-block;margin-bottom: 5px">
            <div style="float: right">
                <button class="btn btn-default1" ng-click="AddModal()">新增</button>
            </div>
        </div>
    </div>
    <div class="body">
        <div class="list-table-panel">
            <script type="text/ng-template" id="nodes.html">
                <li class="row" style="border-bottom:1px solid #f5f5f5; padding:6px 0px">
                    <span style="width:30%;display: inline-block;">
                        <div ng-click="loadChildMenu(cd)">
                            <i class="material-icons" style="position: relative;top:7px;">{{cd.isExpand ? 'expand_more' : 'chevron_right'}}</i>
                            <span class="icon-name">{{cd.flmc}}</span>
                        </div>
                    </span>
                    <span style="width:34%;display:inline-block;">{{cd.lmurl}}</span>
                    <span style="width:8%;display:inline-block;">{{cd.sfxsName}}</span>
                    <span style="width:8%;display:inline-block;">{{cd.px}}</span>
                    <span style="display:inline-block;">
                        <button class="btn td-btn bg-light-green waves-effect" ng-click="EditModal(cd)"
                                title="修改">
                             <!--<i class="material-icons td-icon">border_color</i>-->
                            修改
                        </button>
                        <button class="btn td-btn bg-pink waves-effect" ng-click="DelItem(cd.mhflbs)" title="删除">
                             <!--<i class="material-icons td-icon">delete_forever</i>-->
                            删除
                        </button>
                     </span>
                </li>
                <div ng-hide="!cd.isExpand">
                    <div class="treeitem" ng-repeat="cd in cd.children" ng-include="'nodes.html'"
                         style="cursor: pointer;"></div>
                </div>
            </script>
            <table class="table table-bordered table-striped table-hover dataTable" style="margin-bottom: 0px;">
                <thead>
                <tr>
                    <th style="width:30%;">分栏名称</th>
                    <th style="width:34%;">栏目url</th>
                    <th style="width:8%;">显示</th>
                    <th style="width:8%;">排序</th>
                    <th style="width:20%;">操作</th>
                </tr>
                </thead>
                <tbody ng-if="lmList.ptotal<=0">
                <tr>
                    <td colspan="5" style="text-align:center">暂无数据</td>
                </tr>
                </tbody>
            </table>
            <ul style="list-style:none;padding:0px 15px; margin:0px;border-left:1px solid #f5f5f5;border-right: 1px solid #f5f5f5 "
                ng-repeat="cd in cdList"
                ng-include="'nodes.html'">
            </ul>
            <!--参数含义：page-Index：当前页面，page-Size：每页显示多少数据，total-Length:数据总长度-->
            <pagination ng-if="tempMenu.length>0" data-pageindex="selectdata.pageindex"
                        data-pagesize="selectdata.pagesize" data-ptotal="selectdata.ptotal"></pagination>
        </div>
    </div>
</div>